package org.example.param;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Data
public class CategoryUpdateParam {
    @NotNull(message = "参数异常,无法修改")
    private Long id;
    @NotBlank(message = "类别名称不能为空!!!")
    private String categoryName;

    private String avatar;

    private String description;
}
